
<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module login</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>login</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/sp4rc/Documents/Studium/Semesterarbeit/workspace/webCA/src/webca/webca/controllers/login.py">/home/sp4rc/Documents/Studium/Semesterarbeit/workspace/webCA/src/webca/webca/controllers/login.py</a></font></td></tr></table>
    <p><tt>This&nbsp;module&nbsp;inherits&nbsp;from&nbsp;class&nbsp;<a href="webca.lib.base.html#BaseController">BaseController</a>&nbsp;and&nbsp;provides&nbsp;<br>
an&nbsp;easy&nbsp;way&nbsp;to&nbsp;authenticate&nbsp;a&nbsp;user&nbsp;using&nbsp;username&nbsp;and&nbsp;password.&nbsp;<br>
Every&nbsp;class&nbsp;using&nbsp;this&nbsp;need's&nbsp;to&nbsp;have&nbsp;a&nbsp;'requires_auth&nbsp;=&nbsp;True'&nbsp;<br>
statement&nbsp;right&nbsp;after&nbsp;the&nbsp;class&nbsp;signature.</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="logging.html">logging</a><br>
</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="webca.lib.base.html#BaseController">webca.lib.base.BaseController</a>(<a href="pylons.controllers.core.html#WSGIController">pylons.controllers.core.WSGIController</a>)
</font></dt><dd>
<dl>
<dt><font face="helvetica, arial"><a href="login.html#LoginController">LoginController</a>
</font></dt></dl>
</dd>
</dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="LoginController">class <strong>LoginController</strong></a>(<a href="webca.lib.base.html#BaseController">webca.lib.base.BaseController</a>)</font></td></tr>
    
<tr><td bgcolor="#ffc8d8"><tt>&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl><dt>Method resolution order:</dt>
<dd><a href="login.html#LoginController">LoginController</a></dd>
<dd><a href="webca.lib.base.html#BaseController">webca.lib.base.BaseController</a></dd>
<dd><a href="pylons.controllers.core.html#WSGIController">pylons.controllers.core.WSGIController</a></dd>
<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
</dl>
<hr>
Methods defined here:<br>
<dl><dt><a name="LoginController-index"><strong>index</strong></a>(self)</dt><dd><tt>Show&nbsp;login&nbsp;form.&nbsp;Submits&nbsp;to&nbsp;/login/submit</tt></dd></dl>

<dl><dt><a name="LoginController-logout"><strong>logout</strong></a>(self)</dt><dd><tt>Logout&nbsp;the&nbsp;user,&nbsp;delete&nbsp;the&nbsp;session&nbsp;and&nbsp;display&nbsp;a&nbsp;confirmation&nbsp;message</tt></dd></dl>

<dl><dt><a name="LoginController-submit"><strong>submit</strong></a>(self)</dt><dd><tt>Verify&nbsp;username&nbsp;and&nbsp;password</tt></dd></dl>

<hr>
Methods inherited from <a href="webca.lib.base.html#BaseController">webca.lib.base.BaseController</a>:<br>
<dl><dt><a name="LoginController-__before__"><strong>__before__</strong></a>(self)</dt></dl>

<dl><dt><a name="LoginController-__call__"><strong>__call__</strong></a>(self, environ, start_response)</dt><dd><tt>Invoke&nbsp;the&nbsp;Controller</tt></dd></dl>

<hr>
Data and other attributes inherited from <a href="webca.lib.base.html#BaseController">webca.lib.base.BaseController</a>:<br>
<dl><dt><strong>requires_auth</strong> = False</dl>

<hr>
Data descriptors inherited from <a href="pylons.controllers.core.html#WSGIController">pylons.controllers.core.WSGIController</a>:<br>
<dl><dt><strong>__dict__</strong></dt>
<dd><tt>dictionary&nbsp;for&nbsp;instance&nbsp;variables&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
<dl><dt><strong>__weakref__</strong></dt>
<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
</dl>
</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>c</strong> = &lt;paste.registry.StackedObjectProxy object at 0x2288d10&gt;<br>
<strong>config</strong> = {'pylons.c_attach_args': True, 'buffet.template_...'charset': 'utf-8', 'content_type': 'text/html'}}<br>
<strong>log</strong> = &lt;logging.Logger instance at 0x7fe0ebabd3b0&gt;<br>
<strong>request</strong> = &lt;paste.registry.StackedObjectProxy object at 0x2192190&gt;<br>
<strong>response</strong> = &lt;paste.registry.StackedObjectProxy object at 0x21b2210&gt;<br>
<strong>session</strong> = &lt;paste.registry.StackedObjectProxy object at 0x2288b90&gt;</td></tr></table>
</body></html>